.class public Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# static fields
.field public static b:Ljava/lang/String;

.field public static c:Ljava/lang/String;

.field public static d:Ljava/lang/String;

.field public static e:Ljava/lang/String;


# instance fields
.field public a:Lcom/waiqin365/lightapp/visit/b/bd;

.field private f:Lcom/baidu/mapapi/map/MapView;

.field private g:Lcom/baidu/mapapi/map/BaiduMap;

.field private h:Landroid/widget/LinearLayout;

.field private i:Landroid/support/v4/view/ViewPager;

.field private j:Lcom/waiqin365/lightapp/visit/b/af;

.field private k:Ljava/util/ArrayList;

.field private final l:I

.field private m:Lcom/baidu/mapapi/map/Marker;

.field private n:Lcom/baidu/mapapi/map/BitmapDescriptor;

.field private o:Landroid/widget/ImageView;

.field private p:Landroid/widget/ImageView;

.field private q:Ljava/util/List;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const-string/jumbo v0, "arrive"

    sput-object v0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->b:Ljava/lang/String;

    const-string/jumbo v0, "leave"

    sput-object v0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->c:Ljava/lang/String;

    const-string/jumbo v0, "missed"

    sput-object v0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->d:Ljava/lang/String;

    const-string/jumbo v0, "customerloc"

    sput-object v0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->e:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const/16 v0, 0x258

    iput v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->l:I

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;)Landroid/support/v4/view/ViewPager;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->i:Landroid/support/v4/view/ViewPager;

    return-object v0
.end method

.method private a()V
    .locals 2

    const v0, 0x7f0c0c4f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0c51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const v1, 0x7f0801e3

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0c52

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    return-void
.end method

.method private a(I)V
    .locals 9

    const/4 v8, 0x1

    const/4 v5, 0x0

    const/4 v4, 0x0

    const-wide/16 v6, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->m:Lcom/baidu/mapapi/map/Marker;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->m:Lcom/baidu/mapapi/map/Marker;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/Marker;->remove()V

    :cond_0
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->c:Ljava/lang/String;

    const/16 v2, 0x2c

    invoke-static {v0, v2, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v2, 0x2

    if-ne v0, v2, :cond_2

    invoke-virtual {v1, v5}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;F)F

    move-result v0

    float-to-double v2, v0

    invoke-virtual {v1, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;F)F

    move-result v0

    float-to-double v0, v0

    const/4 v4, 0x3

    invoke-static {v2, v3, v0, v1, v4}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v4

    cmpl-double v2, v2, v6

    if-lez v2, :cond_2

    cmpl-double v0, v0, v6

    if-lez v0, :cond_2

    new-instance v1, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v2, v4, v5

    aget-wide v4, v4, v8

    invoke-direct {v1, v2, v3, v4, v5}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    sget-object v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const v0, 0x7f020361

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->n:Lcom/baidu/mapapi/map/BitmapDescriptor;

    :cond_1
    :goto_0
    new-instance v0, Lcom/baidu/mapapi/map/MarkerOptions;

    invoke-direct {v0}, Lcom/baidu/mapapi/map/MarkerOptions;-><init>()V

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/map/MarkerOptions;->position(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->n:Lcom/baidu/mapapi/map/BitmapDescriptor;

    invoke-virtual {v0, v2}, Lcom/baidu/mapapi/map/MarkerOptions;->icon(Lcom/baidu/mapapi/map/BitmapDescriptor;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    const/16 v2, 0x258

    invoke-virtual {v0, v2}, Lcom/baidu/mapapi/map/MarkerOptions;->zIndex(I)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v2, v0}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/Marker;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->m:Lcom/baidu/mapapi/map/Marker;

    invoke-static {v1}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->newLatLng(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->animateMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    :cond_2
    return-void

    :cond_3
    sget-object v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    const v0, 0x7f020364

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->n:Lcom/baidu/mapapi/map/BitmapDescriptor;

    goto :goto_0

    :cond_4
    sget-object v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->d:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    const v0, 0x7f020367

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->n:Lcom/baidu/mapapi/map/BitmapDescriptor;

    goto :goto_0

    :cond_5
    sget-object v2, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->e:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f020091

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->n:Lcom/baidu/mapapi/map/BitmapDescriptor;

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a(I)V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->h:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method private b()V
    .locals 5

    const/4 v2, 0x0

    const/4 v4, 0x1

    const v0, 0x7f0c0cac

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->o:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0cad

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->p:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->p:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0ca8

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->h:Landroid/widget/LinearLayout;

    const v0, 0x7f0c0ca9

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/support/v4/view/ViewPager;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->i:Landroid/support/v4/view/ViewPager;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->i:Landroid/support/v4/view/ViewPager;

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setOffscreenPageLimit(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->i:Landroid/support/v4/view/ViewPager;

    const/4 v1, 0x5

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->c(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setPageMargin(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->h:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/fl;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/fl;-><init>(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/af;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/visit/b/af;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->j:Lcom/waiqin365/lightapp/visit/b/af;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->i:Landroid/support/v4/view/ViewPager;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->j:Lcom/waiqin365/lightapp/visit/b/af;

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->i:Landroid/support/v4/view/ViewPager;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/fm;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/fm;-><init>(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;)V

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    const v0, 0x7f0c0ca7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/MapView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->f:Lcom/baidu/mapapi/map/MapView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->f:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/MapView;->getMap()Lcom/baidu/mapapi/map/BaiduMap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0, v4}, Lcom/baidu/mapapi/map/BaiduMap;->setMapType(I)V

    const/high16 v0, 0x41800000    # 16.0f

    invoke-static {v0}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->zoomTo(F)Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->setMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/BaiduMap;->getUiSettings()Lcom/baidu/mapapi/map/UiSettings;

    move-result-object v0

    invoke-virtual {v0, v4}, Lcom/baidu/mapapi/map/UiSettings;->setZoomGesturesEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0, v4}, Lcom/baidu/mapapi/map/BaiduMap;->setMyLocationEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->f:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0, v2}, Lcom/baidu/mapapi/map/MapView;->showScaleControl(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->f:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0, v2}, Lcom/baidu/mapapi/map/MapView;->showZoomControls(Z)V

    const v0, 0x7f0200b7

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    new-instance v2, Lcom/baidu/mapapi/map/MyLocationConfiguration;

    sget-object v3, Lcom/baidu/mapapi/map/MyLocationConfiguration$LocationMode;->NORMAL:Lcom/baidu/mapapi/map/MyLocationConfiguration$LocationMode;

    invoke-direct {v2, v3, v4, v0}, Lcom/baidu/mapapi/map/MyLocationConfiguration;-><init>(Lcom/baidu/mapapi/map/MyLocationConfiguration$LocationMode;ZLcom/baidu/mapapi/map/BitmapDescriptor;)V

    invoke-virtual {v1, v2}, Lcom/baidu/mapapi/map/BaiduMap;->setMyLocationConfigeration(Lcom/baidu/mapapi/map/MyLocationConfiguration;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/fn;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/fn;-><init>(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;)V

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/map/BaiduMap;->setOnMapLoadedCallback(Lcom/baidu/mapapi/map/BaiduMap$OnMapLoadedCallback;)V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->q:Ljava/util/List;

    return-object v0
.end method

.method private c()V
    .locals 15

    const/4 v14, 0x3

    const/4 v11, 0x0

    const-wide/16 v12, 0x0

    const/4 v2, 0x0

    const/4 v10, 0x1

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "info"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bd;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "type"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    if-eqz v1, :cond_1

    sget-object v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->b:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/visit/b/v;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->z:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->B:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->A:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->c:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->C:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->e:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->b:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    iput-boolean v10, v0, Lcom/waiqin365/lightapp/visit/b/v;->g:Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->G:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/visit/b/v;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->D:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->F:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->E:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->c:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->G:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->e:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->c:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->o:Ljava/lang/String;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/c/b;->a(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/visit/b/v;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->l:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->p:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->o:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->c:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->e:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->j:Lcom/waiqin365/lightapp/visit/b/af;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/af;->notifyDataSetChanged()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->q:Ljava/util/List;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    if-eqz v0, :cond_c

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_c

    const/4 v0, -0x1

    move v1, v2

    move v3, v0

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_a

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->c:Ljava/lang/String;

    const/16 v5, 0x2c

    invoke-static {v0, v5, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v5, 0x2

    if-ne v0, v5, :cond_2

    invoke-virtual {v4, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;F)F

    move-result v0

    float-to-double v6, v0

    invoke-virtual {v4, v10}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0, v11}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;F)F

    move-result v0

    float-to-double v4, v0

    invoke-static {v6, v7, v4, v5, v14}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v0

    cmpl-double v6, v6, v12

    if-lez v6, :cond_2

    cmpl-double v4, v4, v12

    if-lez v4, :cond_2

    new-instance v6, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v4, v0, v2

    aget-wide v8, v0, v10

    invoke-direct {v6, v4, v5, v8, v9}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    const/4 v4, 0x0

    sget-object v5, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    const v0, 0x7f020362

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    :goto_2
    new-instance v4, Lcom/baidu/mapapi/map/MarkerOptions;

    invoke-direct {v4}, Lcom/baidu/mapapi/map/MarkerOptions;-><init>()V

    invoke-virtual {v4, v6}, Lcom/baidu/mapapi/map/MarkerOptions;->position(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v4

    invoke-virtual {v4, v0}, Lcom/baidu/mapapi/map/MarkerOptions;->icon(Lcom/baidu/mapapi/map/BitmapDescriptor;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/map/MarkerOptions;->zIndex(I)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    iget-object v4, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v4, v0}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    iget-object v4, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->q:Ljava/util/List;

    invoke-interface {v4, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->g:Z

    if-eqz v0, :cond_2

    move v3, v1

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_1

    :cond_3
    sget-object v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->c:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bd;->C:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/visit/b/v;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->z:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->B:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->A:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->c:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->C:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->e:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->b:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_4
    new-instance v0, Lcom/waiqin365/lightapp/visit/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/visit/b/v;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->D:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->F:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->E:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->c:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->G:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->e:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->c:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    iput-boolean v10, v0, Lcom/waiqin365/lightapp/visit/b/v;->g:Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    :cond_5
    sget-object v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->d:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/v;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/visit/b/v;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->i:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->b:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->x:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->d:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->w:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->c:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a:Lcom/waiqin365/lightapp/visit/b/bd;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bd;->y:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->e:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->d:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    iput-boolean v10, v0, Lcom/waiqin365/lightapp/visit/b/v;->g:Z

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    :cond_6
    sget-object v5, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    const v0, 0x7f020365

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    goto/16 :goto_2

    :cond_7
    sget-object v5, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->d:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    const v0, 0x7f020368

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    goto/16 :goto_2

    :cond_8
    sget-object v5, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->e:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/v;->f:Ljava/lang/String;

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_e

    const v0, 0x7f0200b3

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v5

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v4

    invoke-virtual {v4}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v4

    invoke-virtual {v0, v4}, Lcom/waiqin365/base/login/mainview/a;->b(Landroid/content/Context;)Ljava/util/HashMap;

    move-result-object v0

    const-string/jumbo v4, "senorvisit"

    invoke-virtual {v0, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v4, ""

    if-eqz v0, :cond_d

    const-string/jumbo v4, "cust_visit_position_distance"

    invoke-virtual {v0, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    :goto_3
    invoke-static {v0, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;I)I

    move-result v0

    if-lez v0, :cond_9

    new-instance v4, Lcom/baidu/mapapi/map/CircleOptions;

    invoke-direct {v4}, Lcom/baidu/mapapi/map/CircleOptions;-><init>()V

    const v7, 0x260046ff

    invoke-virtual {v4, v7}, Lcom/baidu/mapapi/map/CircleOptions;->fillColor(I)Lcom/baidu/mapapi/map/CircleOptions;

    move-result-object v4

    invoke-virtual {v4, v6}, Lcom/baidu/mapapi/map/CircleOptions;->center(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/CircleOptions;

    move-result-object v4

    new-instance v7, Lcom/baidu/mapapi/map/Stroke;

    const v8, 0x66707be0

    invoke-direct {v7, v14, v8}, Lcom/baidu/mapapi/map/Stroke;-><init>(II)V

    invoke-virtual {v4, v7}, Lcom/baidu/mapapi/map/CircleOptions;->stroke(Lcom/baidu/mapapi/map/Stroke;)Lcom/baidu/mapapi/map/CircleOptions;

    move-result-object v4

    invoke-virtual {v4, v0}, Lcom/baidu/mapapi/map/CircleOptions;->radius(I)Lcom/baidu/mapapi/map/CircleOptions;

    move-result-object v0

    iget-object v4, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v4, v0}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    :cond_9
    move-object v0, v5

    goto/16 :goto_2

    :cond_a
    if-ltz v3, :cond_b

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->i:Landroid/support/v4/view/ViewPager;

    invoke-virtual {v0, v3}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    invoke-direct {p0, v3}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a(I)V

    :cond_b
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/fp;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/fp;-><init>(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;)V

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/map/BaiduMap;->setOnMarkerClickListener(Lcom/baidu/mapapi/map/BaiduMap$OnMarkerClickListener;)V

    :cond_c
    return-void

    :cond_d
    move-object v0, v4

    goto :goto_3

    :cond_e
    move-object v0, v4

    goto/16 :goto_2
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;)Lcom/baidu/mapapi/map/BaiduMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->back()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/BaiduMap;->getMapStatus()Lcom/baidu/mapapi/map/MapStatus;

    move-result-object v0

    iget v0, v0, Lcom/baidu/mapapi/map/MapStatus;->zoom:F

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1}, Lcom/baidu/mapapi/map/BaiduMap;->getMaxZoomLevel()F

    move-result v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_0

    invoke-static {}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->zoomIn()Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->animateMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->p:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setEnabled(Z)V

    goto :goto_0

    :cond_0
    const v0, 0x7f0802d4

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setEnabled(Z)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/BaiduMap;->getMapStatus()Lcom/baidu/mapapi/map/MapStatus;

    move-result-object v0

    iget v0, v0, Lcom/baidu/mapapi/map/MapStatus;->zoom:F

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1}, Lcom/baidu/mapapi/map/BaiduMap;->getMinZoomLevel()F

    move-result v1

    cmpl-float v0, v0, v1

    if-lez v0, :cond_1

    invoke-static {}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->zoomOut()Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->g:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->animateMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setEnabled(Z)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->p:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setEnabled(Z)V

    const v0, 0x7f0802d5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0c4f -> :sswitch_0
        0x7f0c0cac -> :sswitch_1
        0x7f0c0cad -> :sswitch_2
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f030298

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->c()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->f:Lcom/baidu/mapapi/map/MapView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/ChexiaoSalesLocationActivity;->f:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/MapView;->onDestroy()V

    :cond_0
    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method
